//
//  DetailViewController.h
//  Porthole
//
//  Created by Dennis Chau on 12/8/11.
//  Copyright (c) 2011 Univeristy of Illinois at Chicago. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TCPClientOmega.h"
#import "FreeInteractionAreaView.h"

@interface DetailViewController : UIViewController <UISplitViewControllerDelegate , UIGestureRecognizerDelegate , FreeInteractionAreaViewDelegate >
{
    UIPageViewController *pageController;    
    NSArray *pageContent;

    FreeInteractionAreaView *FIA;
    
    TCPClientOmega *tcpConnection;
    BOOL connectServer;

}
@property (strong, nonatomic) IBOutlet UILabel *detailDescriptionLabel;
@property (strong, nonatomic) id detailItem;

@property (strong, nonatomic) FreeInteractionAreaView *FIA;

@property (strong, nonatomic) UIPageViewController *pageController;
@property (strong, nonatomic) NSArray *pageContent;

@property (strong , nonatomic ) TCPClientOmega *tcpConnection;
@property (assign) BOOL connectServer;

-(void) setupConnectionToServer;
-(void) setupGestureSupportFIA;

@end
